﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Page_UpdateService.aspx.cs" Inherits="Admin_Page_UpdateService" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 100%" cellpadding="5" cellspacing="5">
    <tr>
        <td align="center" colspan="2">
            <asp:Label ID="lblLoi" runat="server" ForeColor="Red"></asp:Label>
        </td>
    </tr>
    <tr id="trMa" runat="server" visible="false">
        <td style="width: 159px" align="right">
            Mã:</td>
        <td>
            <asp:Label ID="lblMa" runat="server" ForeColor="#009933"></asp:Label>
        </td>
    </tr>
    <tr>
        <td style="width: 159px" align="right">
            Loại dịch vụ:</td>
        <td>
            <asp:DropDownList ID="ddlLoaiDV" runat="server" Width="285px" 
                DataSourceID="SqlDataSource1" DataTextField="Ten_EN" DataValueField="Ma">
            </asp:DropDownList>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:TramHuongDB2ConnectionString %>" 
                SelectCommand="SELECT [Ma], [Ten_EN] FROM [LoaiDichVu]"></asp:SqlDataSource>
        </td>
    </tr>
    <tr>
        <td style="width: 159px" align="right">
            Tên&nbsp; EN:</td>
        <td>
            <asp:TextBox ID="txtTenEN" runat="server" Width="285px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="width: 159px" align="right">
            Tên RU:</td>
        <td>
            <asp:TextBox ID="txtTenRU" runat="server" Width="285px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="width: 159px" align="right">
            Mô tả:</td>
        <td>
            <asp:TextBox ID="txtMoTa" runat="server" Height="145px" TextMode="MultiLine" 
                Width="450px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="width: 159px" align="right">
            &nbsp;</td>
        <td>
            <asp:Button ID="btnUpdate" runat="server" Text="Thêm" 
                onclick="btnUpdate_Click" />
        &nbsp;<asp:Button ID="btnXoa" runat="server" onclick="btnXoa_Click" Text="Xóa" 
                Visible="False" />
        </td>
    </tr>
</table>
</asp:Content>

